//
//  AppDelegate.swift
//  feiyu444
//
//  Created by hanweiguang on 2018/9/28.
//  Copyright © 2018年 hanweiguang. All rights reserved.
//

import UIKit
import SHFullscreenPopGestureSwift

@UIApplicationMain
class AppDelegate: UIResponder, UIApplicationDelegate {

    var window: UIWindow?


    func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]?) -> Bool {
        
//        开启滑动返回
        SHFullscreenPopGesture.configure()
        
        
        let vc = RootViewController()
        let nav = UINavigationController.init(rootViewController: vc)

        window?.rootViewController = nav
    
        return true
    }

    func applicationWillResignActive(_ application: UIApplication) {
    }

    func applicationDidEnterBackground(_ application: UIApplication) {
     }

    func applicationWillEnterForeground(_ application: UIApplication) {
     }

    func applicationDidBecomeActive(_ application: UIApplication) {
     }

    func applicationWillTerminate(_ application: UIApplication) {
     }


}

